package tech.aistar.vo;

import tech.aistar.entity.UserInfo;
import tech.aistar.entity.dynamic.Picture;

/**
 * @author Ace
 * @version 1.0
 * @descriiption:本类用来演示:
 * @date 2019/10/14 0014.
 */
public class PictureVo {
    private Picture picture;
    private UserInfo userInfo;

    private Integer priseCount;

    private boolean ismyprise;//封装了是否自己点过赞

    public Picture getPicture() {
        return picture;
    }

    public void setPicture(Picture picture) {
        this.picture = picture;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Integer getPriseCount() {
        return priseCount;
    }

    public void setPriseCount(Integer priseCount) {
        this.priseCount = priseCount;
    }

    public boolean isIsmyprise() {
        return ismyprise;
    }

    public void setIsmyprise(boolean ismyprise) {
        this.ismyprise = ismyprise;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PictureVo{");
        sb.append("picture=").append(picture);
        sb.append(", userInfo=").append(userInfo);
        sb.append(", priseCount=").append(priseCount);
        sb.append(", ismyprise=").append(ismyprise);
        sb.append('}');
        return sb.toString();
    }
}
